package com.feign.wugongbang.hystric;

import com.feign.wugongbang.entity.WgbFeedback;
import com.feign.wugongbang.service.ErrorCollctionService;
import com.feign.wugongbang.service.FeedbackService;
import com.feign.wugongbang.utils.BaseResult;
import com.feign.wugongbang.utils.PageInfo;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

import static com.feign.wugongbang.utils.Constants.*;

@Component
public class FeedbackServiceHystric implements FeedbackService {

    @Override
    public Object add(MultipartFile uploadfile, String userToken, Map<String,Object> params) {
        return new BaseResult(RESPONSE_CODE_500,RESPONSE_MESSAGE_500,RESPONSE_MESSAGE_500_HYSTRIC);
    }

    @Override
    public Object get(PageInfo pageInfo) {
        return new BaseResult(RESPONSE_CODE_500,RESPONSE_MESSAGE_500,RESPONSE_MESSAGE_500_HYSTRIC);
    }

    @Override
    public Object update(int id) {
        return new BaseResult(RESPONSE_CODE_500,RESPONSE_MESSAGE_500,RESPONSE_MESSAGE_500_HYSTRIC);
    }

}
